<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="css/base.css">
  <link rel="stylesheet" href="css/my.css">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no">
  <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=u70A5pnNrRtRT1XAgwM5jL2YIVj1Gv97"></script>
</head>
<body>
<div class="header-box">
  <p>地点详情</p>
</div>
<div class="lendSiteDetails">
  <div class="lendSiteDetails_box">
    <div class="map" id="allmap"></div>
  </div>
  <div class="lendSiteDetails_text">
    <p>小鱼儿共享绘本西二旗点</p>
    <p>
      <span>地址：北京市昌平区西二旗万达广场购物中心三层</span><br>
      <span>营业时间：9:00—21:00</span><br>
      <span>电话：18010039827；18010037968</span>
    </p>
  </div>
</div>
<div class="set_my_common_place">
  <a href="setLendSite.html">选为我的常用地点</a>
</div>
</body>
<script src="js/jquery.js"></script>
<script src="js/base.js"></script>
<script type="text/javascript">
  // 百度地图API功能
  var map = new BMap.Map("allmap");    // 创建Map实例
  var point = new BMap.Point(116.300814, 39.915799);
  map.centerAndZoom(point, 17);  // 初始化地图,设置中心点坐标和地图级别
  //添加地图类型控件
  map.addControl(new BMap.MapTypeControl({
    mapTypes:[
      BMAP_NORMAL_MAP,
      BMAP_HYBRID_MAP
    ]}));
  map.setCurrentCity("寰岛博雅");          // 设置地图显示的城市 此项是必须设置的
  map.enableScrollWheelZoom(true);     //开启鼠标滚轮缩放

  var mk = new BMap.Marker(point);
  mk.setAnimation(BMAP_ANIMATION_BOUNCE);
  map.addOverlay(mk);
</script>
</html>